package com.lp.biz.content.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.io.Serial;
import lombok.Data;

/**
 * biz_core_content_member_rel实体类
 * 用户-商品关系
 * @program: backend
 * @author Ke.Song
 * @since 2024-07-06 16:12:25
 */
@Data
@TableName("biz_core_content_member_rel")
public class BizCoreContentMemberRel implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 商品id
     */
    private Integer bizCoreContentId;

    /**
     * 订单id
     */
    private Integer bizOrderId;

    /**
     * 分类id
     */
    private Integer bizCategoryId;

    /**
     * Code
     */
    private String bizCategoryCode;

    /**
     * 用户id
     */
    private Integer memberId;

    /**
     * 购买时间
     */
    private LocalDateTime createAt;


}
